import * as type from "../types";
import api from "../api";

const qs = require('qs');

const user = {
    state: {
        token: '',
    },

    getters: {},

    mutations: {
        // [type.userTestToken](state, data) {
        //     state.token = data.data.token;
        // },
    },
    actions: {
        // getUserTestToken({ commit, state, dispatch }, params) {
        //     api.post('/api/user/test', qs.stringify(params)).then(response => {
        //         if (response.statusText === 'OK') {
        //           commit(type.userTestToken,response.data)
        //         }
        //     });
        // },
    },
};

export default user;
